package com.zhiwei.msf.infra.oauth.service;

import com.zhiwei.msf.infra.oauth.entity.AuthorityInfo;

import java.util.List;

/**
 * 授权服务
 */
public interface AuthorityInfoService {

    /**
     * 查询用户权限
     * @param uuid
     * @return
     */
    public List<AuthorityInfo> selectByUserId(String uuid);

    /**
     * 获取所有权限信息
     * @return
     */
    public List<AuthorityInfo> queryAllAuthorities();
}